package jmine.tec.web.front.domain;

import bancosys.tec.persist.builders.AbstractDBBuilder;

/**
 * @author lundberg
 */
public class BackOfficeRequestTypeBuilder extends AbstractDBBuilder<BackOfficeRequestType> {

    private BackOfficeRequestType bean = this.createBean();

    public static BackOfficeRequestTypeBuilder aRequestType() {
        BackOfficeRequestTypeBuilder builder = new BackOfficeRequestTypeBuilder();
        builder.mnemonic("mne");
        builder.metadata("sampleFormMetadata");
        return builder;
    }

    @Override
    protected BackOfficeRequestType doBuild() {
        return this.bean;
    }

    public BackOfficeRequestTypeBuilder mnemonic(String value) {
        this.bean.setMnemonic(value);
        return this;
    }

    public BackOfficeRequestTypeBuilder metadata(String value) {
        this.bean.setMetadata(value);
        return this;
    }
}
